﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace CustomControl
{
	/// <summary>
	/// Interaction logic for IfThenSummaryPage.xaml
	/// </summary>
	public partial class IfThenSummaryPage : Page
	{
		IfThenViewModel _viewModel = null;
		public IfThenSummaryPage()
		{
			InitializeComponent();
			_viewModel = new IfThenViewModel();
			this.DataContext = _viewModel;

		}

		private void Button_Click(object sender, RoutedEventArgs e)
		{
			this.NavigationService.Navigate(new ThenPage());
		}
	}
}
